import request from "@/utiles/request";
//获取班级列表
export const getClassListAPI = (pageNo = 1, pageSize = 10, key = "") =>
  request.get(
    `/classManger/getclassList?pageNo=${pageNo}&pageSize=${pageSize}&key=${key}`
  );
//添加班级
export const AddClassAPI = (data)=>request.post('/classManger/createClass',data)
//获取班级详情
export const getClassInfoAPI = (id)=>request.get(`/classManger/getClassDetail?id=${id}`)
//删除班级
export const deleteClassAPI = (id)=>request.delete(`/classManger/deleteClass?id=${id}`)
